from flask import Flask,render_template

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('Main.html');

@app.route('/SleepCheck')
def Check():
    return render_template('SleepCheck.html');

@app.route('/login')
def GoTologin():
    return render_template('login.html');

@app.route('/register')
def GoToregister():
    return render_template('register.html');

@app.route('/PersonalInfo')
def GoToPersonalInfo():
    return render_template('PersonalInfo.html');

@app.route('/temperature')
def GoTotemperature():
    return render_template('temperature.html');

@app.route('/humidity')
def GoTohumidity():
    return render_template('humidity.html');

@app.route('/doormonitor')
def GoToDoorMonitor():
    return render_template('doormonitor.html');

@app.route('/entryandexit')
def GoToEntryandexit():
    return render_template('entryandexit.html');

@app.route('/monitorvideo')
def GoTomonitorvideo():
    return render_template('monitorvideo.html');

if __name__ == '__main__':
    app.run()
